﻿using GALibrary.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GALibrary.Scheduling
{
    public class RoundRobin : BaseScheduler
    {
        private List<TaskSchedulerGA> tasks;
        private IScheduling nextLevelSchedule;
        private int timeQuantum;
        private int snapCounter = 0;
        int adjustTime = 0;
        public RoundRobin(int _timeQuantum)
        {
            timeQuantum = _timeQuantum;
            tasks = new List<TaskSchedulerGA>();
        }
        public RoundRobin(IScheduling _nextLevelSchedule, int _timeQuantum)
            : this(_timeQuantum)
        {
            this.nextLevelSchedule = _nextLevelSchedule;
        }

        public override TaskSchedulerGA FindUnScheduleTask()
        {
            throw new NotImplementedException();
        }

        public override TaskSchedulerGA GetPeekTasks()
        {
            throw new NotImplementedException();
        }

        public override void OwnSort()
        {
            throw new NotImplementedException();
        }
    }
}
